#pragma once
#include "../drawopencv.h"
class CDrawSnake :
	public CDrawOpenCV 
{
public:
	CDrawSnake(void);
	virtual ~CDrawSnake(void);
	DECLARE_MESSAGE_MAP()
public:
	// DealwithFrame
	virtual void DealwithFrame(void);
private:
	//void OnChange(int pos);
	int  flag,thre;

	int  Thresholdness;
	int  ialpha;
	int  ibeta;
	int  igamma;

	IplImage *image0;
	IplImage *image1;
	IplImage *image;
	//IplImage *image2;
	CvMemStorage* storage;
	CvSeq* contours;
};

